
ROOTFS ?= /home/lf/workspace/rootfs

all:
	arm-none-linux-gnueabihf-gcc -ooled_app.out main.c oled.c oled.h -std=gnu99 -lm
app:
	arm-none-linux-gnueabihf-gcc -ooled_app.out main.c oled.c oled.h -std=gnu99 -lm
install:
	cp *.out $(ROOTFS)/root/
clean:
	rm -rf *.o *.out .*.cmd *.mod.* *.mod modules.order Module.symvers .tmp_versions
